package il.ac.braude.sona.gui.forms.myforms;
import il.ac.braude.sona.constants.Resources;
import il.ac.braude.sona.gui.forms.FormFrame;
import il.ac.braude.sona.gui.forms.FormPanel;
import il.ac.braude.sona.gui.forms.questions.QComboBox;
import il.ac.braude.sona.gui.forms.questions.QTextArea;

/**
 * Class that's in charge of showing RequestExtensionForm GUI
 * @author  Ofek Ron
 * @author Avihay Avitan
 * @author Nitzan Inbar
 * @author Sasha Rozenthal
 * Laboratory in Software Engineering,Ort Braude College.</p>
 *
 */
@SuppressWarnings("serial")
public class RequestExtensionForm extends FormFrame {
	FormPanel fPanel;

	/**
	 * Shows RequestExtensionForm.
	 * @param title The head title to show.
	 * @param okButton
	 */
	public RequestExtensionForm(String title, String okButton) {
			 super(title, okButton);
		     fPanel = new FormPanel();
		     fPanel.addTitleWithUnderline(title);
		     fPanel.addQuestion(new QComboBox("Select days:",1,99));
		     fPanel.addQuestion(new QTextArea(Resources.Strings.EnterExplenation));
		     setFormPanel(fPanel);
		     setResizable(false);  
	}

}
